/*
 * Copyright (c) 2017-2021, Lindenis Tech. Ltd.
 * All rights reserved.
 *
 * File:
 *
 * Description: reliable data transfer
 *
 * Author:
 *      xiaoshujun@lindeni.com
 *
 * Create Date:
 *      2021/03/24
 *
 * History:
 *
 */

#ifndef __LIND_TUNNEL_ERRORCODE_H__
#define __LIND_TUNNEL_ERRORCODE_H__

#ifdef __cplusplus
extern "C" {
#endif

typedef enum _LDT_ERROR_E {
    LDTER_OK                            = 0,
    LDTER_FAILED                        = -1,
    LDTER_INVALID_ARGV                  = -2,
    LDTER_TIMEOUT                       = -3,
    LDTER_INVALID_LISENCE_KEY           = -4,
    LDTER_INVALID_UID_OR_PASSWORD       = -5,
    LDTER_NOLOGIN                       = -6,
    LDTER_NOMEM                         = -7,
    LDTER_NOT_INITIALIZE                = -8,
    LDTER_SOCK_DISCONN                  = -9,
    LDTER_SOCK_EAGAIN                   = -10,
    LDTER_EXCEEDED_MAX_SESSION_ID       = -11,
    LDTER_EXCEEDED_MAX_CHANNEL_ID       = -12,
    LDTER_FAILED_CONN_SERVER            = -13,
    LDTER_INVALID_CID                   = -14,
    LDTER_INVALID_GID                   = -15,
    LDTER_INVALID_SID                   = -16,
    LDTER_DONOT_SUPPORT_MULTI_SPEAKER   = -17,
    LDTER_REINITIALIZE                  = -18,
    LDTER_AGAIN                         = -19,
    LDTER_QUEUE_ERROR                   = -20,
    LDTER_QUEUE_FULL_IO                 = -21,
    LDTER_QUEUE_FULL_V                  = -22,
    LDTER_QUEUE_FULL_A                  = -23,
    LDTER_QUEUE_FULL_RAW                = -24,
    LDTER_VIDEO_DASH_DOWN               = -25,
    LDTER_VIDEO_DASH_UP                 = -26,
    LDTER_NOT_SUPPORT                   = -27,
    LDTER_SIZE_NOT_ENOUGH               = -28
} LDT_ERROR_E;


#ifdef __cplusplus
}
#endif

#endif  // __LIND_TUNNEL_ERRORCODE_H__

